package com.weiweiqin.service.impl;

import com.weiweiqin.dao.JssdkAccessDao;
import com.weiweiqin.model.JssdkAccess;
import com.weiweiqin.service.JssdkAccessService;
import com.weiweiqin.vo.common.Page;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;

@Service
public class JssdkAccessServiceImpl implements JssdkAccessService {
	@Autowired
	private JssdkAccessDao jssdkAccessDao;

	public List<JssdkAccess> pageList(Page page, Map<String, Object> conditions) {
		return jssdkAccessDao.pageList(page, conditions);
	}

	public int totalCount(Map<String, Object> conditions) {
		return jssdkAccessDao.totalCount(conditions);
	}

	public void save(JssdkAccess jssdkAccess) {
		jssdkAccessDao.insert(jssdkAccess);
		
	}

	public void update(JssdkAccess jssdkAccess) {
		jssdkAccessDao.update(jssdkAccess);
		
	}

	public JssdkAccess get(int id) {
		return jssdkAccessDao.get(id);
	}

	


}